﻿using System;
using ProjScan.RecordManager;
using ProjScan.RecordManager.AssetData;
using ProjScan.ScanRule.Attr;

namespace ProjScan.ScanRule.ProjectAssets.Prefab
{
	// Token: 0x020001C9 RID: 457
	[AnimatorRuleAttr]
	internal class Animator_OptimizeGameObjects : RecordRuleImp<AnimatorAssetData, AnimatorRecordManager>
	{
		// Token: 0x06000E9E RID: 3742 RVA: 0x00042440 File Offset: 0x00040640
		protected override bool IsOK(AnimatorAssetData assetData)
		{
			return !assetData.IsOptimizable || !assetData.HasTransformHierarchy;
		}
	}
}
